package com.fp.m7.dao;

import java.util.Date;
import java.util.List;

import com.fp.m7.model.Account;
import com.fp.m7.model.Comment;

public interface CommentDao extends BaseDao<Comment> {

    List<Comment> findUsersLatestComments(Account user, int maxPerPage, int pageNo);

    List<Comment> findUsersCommentsByDate(Account user, Date from, Date to);

    List<Comment> findCommentFeedForUser(Account user, int maxPerPage, int pageNo);

    int removeUsersComments(Account user);
    
}
